package com.nanjia.boot.warehouse.storagelocation.converter;

import com.nanjia.boot.warehouse.storagelocation.model.entity.WarehouseStorageLocation;
import com.nanjia.boot.warehouse.storagelocation.model.form.WarehouseStorageLocationForm;
import com.nanjia.boot.warehouse.storagelocation.model.vo.WarehouseStorageLocationVO;
import org.mapstruct.Mapper;

/**
 * 仓库库位对象转换器
 *
 * @author 周洋
 * @since 2025-08-22 09:39
 */
@Mapper(componentModel = "spring")
public interface WarehouseStorageLocationConverter{

    WarehouseStorageLocationForm toForm(WarehouseStorageLocation entity);

    WarehouseStorageLocation toEntity(WarehouseStorageLocationForm formData);
    WarehouseStorageLocationVO toVO(WarehouseStorageLocation formData);
}